/**
 * Copyright (c) 2016,http://www.365wuliu.com/  All Rights Reserved.
 */
package com.cargo.security;

import com.wordnik.swagger.annotations.ApiModelProperty;

import java.util.Set;

/**
 * ShiroUser:内存用户对象
 * 
 * @Project Name:cargo
 * @File Name:ShiroUser.java
 * @Package Name:com.cargo.security
 * @Creator:wizard
 * @Date:2016年4月14日下午2:24:48
 */
public class ShiroUser {
	@ApiModelProperty(value = "连接方式：1-平台对接，2-用户交互")
	private Integer connType;
	@ApiModelProperty(required=true, value = "登录系统类型：0-API,1-ERP,2-SAAS，3-WebSite")
	private Integer sysType;
	@ApiModelProperty(value = "登录用户id，平台对接无此值")
	private Integer userId;
	@ApiModelProperty(value = "登录用户名，平台对接无此值")
	private String userName;
	@ApiModelProperty(value = "登录用户姓名，平台对接无此值")
	private String name;
	@ApiModelProperty(value = "登录用户呢称，平台对接无此值")
	private String nickName;
	@ApiModelProperty(value = "登录用户平台，平台对接无此值")
	private Integer platform;
	@ApiModelProperty(value = "登录用户手机号码，平台对接无此值")
	private String phoneNumber;
	@ApiModelProperty(value = "登录用户密码，平台对接无此值")
	private String passWord;
	@ApiModelProperty(value = "登录用户邮箱，平台对接无此值")
	private String email;
	@ApiModelProperty(value = "登录用户公司ID，平台对接无此值")
	private Integer companyId;
	@ApiModelProperty(value = "登录用户公司名称，平台对接无此值")
	private String companyName;
	@ApiModelProperty(value = "登录用户公司logo，平台对接无此值")
	private String logo;
	@ApiModelProperty(value = "登录用户所属客户ID，平台对接无此值")
	private Integer customerId;
	@ApiModelProperty(value = "登录用户部门ID，平台对接无此值")
	private Integer deptId;
	@ApiModelProperty(value = "用户等级，0：超级管理员，1：信息管理员，2：普通员工")
	private Integer userLevel;
	@ApiModelProperty(value = "用户类型，0：公司，1：个人")
	private Integer userType;
	@ApiModelProperty(value = "登录用户整箱等级ID(运价等级)，平台对接无此值")
	private Integer fclLevelId;
	@ApiModelProperty(value = "登录用户权限认证列表，平台对接无此值")
	private Set<String> permissions;
	@ApiModelProperty(value = "登录用户头像，平台对接无此值")
	private String headPic;
	
	public Integer getConnType() {
		return connType;
	}
	public void setConnType(Integer connType) {
		this.connType = connType;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getSysType() {
		return sysType;
	}
	public void setSysType(Integer sysType) {
		this.sysType = sysType;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public Integer getPlatform() {
		return platform;
	}
	public void setPlatform(Integer platform) {
		this.platform = platform;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public Integer getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public Integer getCustomerId() {
		return customerId;
	}
	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}
	public Integer getDeptId() {
		return deptId;
	}
	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}
	public Integer getUserLevel() {
		return userLevel;
	}
	public void setUserLevel(Integer userLevel) {
		this.userLevel = userLevel;
	}
	public Integer getUserType() {
		return userType;
	}
	public void setUserType(Integer userType) {
		this.userType = userType;
	}
	public Integer getFclLevelId() {
		return fclLevelId;
	}
	public void setFclLevelId(Integer fclLevelId) {
		this.fclLevelId = fclLevelId;
	}
	public Set<String> getPermissions() {
		return permissions;
	}
	public void setPermissions(Set<String> permissions) {
		this.permissions = permissions;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	public String getHeadPic() {
		return headPic;
	}
	public void setHeadPic(String headPic) {
		this.headPic = headPic;
	}
	
}
